package com.iot.user.feign;

import com.iot.common.entity.MessageRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("yun-iot-message")
public interface MessageFeignService {

    @PostMapping("/message/getMessage")
    String getMessage(@RequestBody MessageRequest messageRequest);

}
